package com.it.commicity.service.zy;

import com.it.commicity.common.Result;
import com.it.commicity.domain.po.ZyRoom;
import com.baomidou.mybatisplus.extension.service.IService;
import com.it.commicity.domain.requestPass.Room;
import com.it.commicity.domain.vo.RoomVo;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 房间  服务类
 * </p>
 *
 * @author author
 * @since 2025-07-11
 */
public interface IZyRoomService extends IService<ZyRoom> {

    Result getRoomPage(Room room);

    Result getZyBuildingAndUnit(String communityId);

    List<RoomVo> getExportData(ArrayList<Long> roomIds, Long communityId);

    Result updateAndSaveZyRoom(ZyRoom zyRoom);

    Result deleteByRoomIds(ArrayList<Long> roomIds);
}
